
import $app from '../$app';//公共方法

export default {
	//商标详情
	tmInfo(order_id,success){
		$app.postAjax('tm/info', {
			order_id,
			id:''
		}, res => {

			// 测试数据赋值
			// res.data.first_trial_note_path={file_path: "tm_notes/426/202005/对照页1_60738_158875183999557.doc", file_url: "https://test.fuwumao.cn/storage/tm_notes/426/202005/对照页1_60738_158875183999557.doc"}
			// res.data.first_trial_note_date="2020-02-01"

			// res.data.reject_note_path={file_path: "tm_notes/426/202005/对照页1_60738_158875183999557.doc", file_url: "https://test.fuwumao.cn/storage/tm_notes/426/202005/对照页1_60738_158875183999557.doc"}
			// res.data.reject_note_time="2020-02-02"
			
			// res.data.ignore_note_path={file_path: "tm_notes/426/202005/对照页1_60738_158875183999557.doc", file_url: "https://test.fuwumao.cn/storage/tm_notes/426/202005/对照页1_60738_158875183999557.doc"}
			// res.data.ignore_time="2020-02-03"
			
			// res.data.accept_notice_path={file_path: "tm_notes/426/202005/对照页1_60738_158875183999557.doc", file_url: "https://test.fuwumao.cn/storage/tm_notes/426/202005/对照页1_60738_158875183999557.doc"}
			// res.data.accept_time="2020-02-04"
			
			// res.data.register_cert_path={file_path: "tm_notes/426/202005/对照页1_60738_158875183999557.doc", file_url: "https://test.fuwumao.cn/storage/tm_notes/426/202005/对照页1_60738_158875183999557.doc"}
			// res.data.register_cert_time="2020-02-05"
			
			// res.data.receipt_path={file_path: "tm_notes/426/202005/对照页1_60738_158875183999557.doc", file_url: "https://test.fuwumao.cn/storage/tm_notes/426/202005/对照页1_60738_158875183999557.doc"}

			// res.data.withdraw_note_path={file_path: "tm_notes/426/202005/对照页1_60738_158875183999557.doc", file_url: "https://test.fuwumao.cn/storage/tm_notes/426/202005/对照页1_60738_158875183999557.doc"}
			// res.data.withdraw_note_time="2020-01-05"
			


			success(res.data);
		});
	},

	//专利详情
	itwPT(order_id,success){
		$app.postAjax('patent/info', {
			order_id,
			id:''
		}, res => {
			
			// 以下为测试数据
			// res.data.note={
			// 	"demand_limit_date": "2020-05-01",
			// 	"dealt_register_limit_date": "2020-05-12",

			// 	"demand_note_date": "2020-05-02",
			// 	"reject_note_date": "2020-05-03",
			// 	"withdraw_note_date": "2020-05-04",
			// 	"cost_reduction_note_date": "2020-05-05",
			// 	"first_inspe_note_date": "2020-05-06",
			// 	"auth_change_note_date":"2020-05-07",
			// 	"certificate_note_date": "2020-05-08",
			// 	"final_inspe_note_date": "2020-05-09",
			// 	"publish_note_date": "2020-05-10",
			// 	"fee_note_date": "2020-05-11",
			// 	"dealt_register_date": "2020-05-13",
			// 	"apply_date_change_note_date": "2020-05-14",
			// 	"treat_not_submit_division_note_date": "2020-05-15",
			// 	"treat_not_submit_note_date": "2020-05-16",
			// 	"treat_withdraw_note_date": "2020-05-17",
			// 	"treat_abandoned_note_date": "2020-05-18",

			// 	"demand_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"accept_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864048388040.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864048388040.pdf"
			// 	},
			// 	"reject_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"withdraw_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
			// 	"auth_note_path": {
			// 		"file_path": "patent_file/426/202005/对照页1_36269_158864512493681.doc",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/对照页1_36269_158864512493681.doc"
			// 	},
			// 	"auth_change_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"dealt_register_note_path": {
			// 		"file_path": "patent_file/426/202005/NodeJS中文文档_158864514593319.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/NodeJS中文文档_158864514593319.pdf"
			// 	},
			// 	"first_inspe_note_files": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"cost_reduction_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"publish_note_file": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"final_inspe_note_files": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"certificate_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"treat_abandoned_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"treat_withdraw_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"treat_not_submit_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"treat_not_submit_division_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"apply_date_change_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
				
			// 	"fee_note_path": {
			// 		"file_path": "patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf",
			// 		"file_url": "https://test.fuwumao.cn/storage/patent_file/426/202005/mac快速即启动_2应用_158864046148689.pdf"
			// 	},
			// };

			success(res.data);
		});
	},
};
